#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE


#include<QThread>
#include"tcpclient.h"

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void on_pushButton_clicked();

    void on_pushButton_3_clicked();

    void on_pushButton_4_clicked();

private:
    Ui::MainWindow *ui;



    QThread m_dealTcpClientThreadOne;
    QThread m_dealTcpClientThreadTwo;

    TcpClient* m_tcpClientOne;
    TcpClient* m_tcpClientTwo;
};
#endif // MAINWINDOW_H
